<template>
    <p> 姓名：{{ Name.substring(0,2) }} </p>
    <p> 年龄: {{ Age+1 }} </p>
    <p> 性别: {{ Sex==true ?"男":"女" }} </p>
    <p v-html="Msg"></p>
    <p>
        <input type="text" id="1" name="" >&nbsp;&nbsp;&nbsp;&nbsp;
        <input :id="info.Id" :name="info.Name" >

    </p>

    <button :disabled="Istrue"> Button </button>

</template>

<script setup lang="ts">

const Name ='张三fdgdfg';
const Age = 18;
const Msg = "<a href='https://gitee.com/dashboard/projects'>Git官网 </a>"

const info = {
Id:1,
Name:'asda',
}

const Istrue = false;

const Sex = true;

</script>